package xyz.zdsoft.project_group_manage_module.service;

import org.springframework.stereotype.Service;
import xyz.zdsoft.project_group_manage_module.mapper.InsertStudentToTeamGchMapper;

import javax.annotation.Resource;
import java.util.HashMap;

@Service
public class InsertStudentToTeamGchService {
    @Resource
    private InsertStudentToTeamGchMapper insertStudentToTeamGchMapper;

    public Integer InsertStudentInTeam(HashMap<String,Object> map){
        return insertStudentToTeamGchMapper.InsertStudentInTeam(map);
    }

    public Integer SelTeamHaveStudent(HashMap<String, Object> map){
        return insertStudentToTeamGchMapper.SelTeamHaveStudent(map);
    }


    public Integer SelStudentIsHave(Long studentId){
        return insertStudentToTeamGchMapper.SelStudentIsHave(studentId);
    }

}
